package org.yunmai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.yunmai.entity.SysUserEntity;

/**
 * 描述
 *
 * @author 小灰灰
 * @date 2025/6/3
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserEntity> {

    @Select("select * from sys_user where username= #{username}")
    SysUserEntity getOneUserByName(@Param("username") String username);

}
